package cn.tedu.service.impl;

import cn.tedu.mapper.UserMapper;
import cn.tedu.pojo.UserInfo;
import cn.tedu.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoServiceImpl implements UserInfoService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public Integer userLogin(UserInfo userInfo) {
        return userMapper.userLogin(userInfo);
    }

    @Override
    public Integer userSingIn(UserInfo userInfo) {
        return userMapper.userSingIn(userInfo);
    }
}
